package sbc.group1.lab1.mozartspaces;

import java.awt.Color;
import java.io.Serializable;

import sbc.group1.lab1.common.Order;

public class CoatingJob implements Serializable {
    private final Order order;
    
    
    public CoatingJob() {
        this.order = null;
    }
    
    public CoatingJob(Order order) {
        this.order = order;
    }
    
    public Color getColor() {
    	if (order != null) {
    		return order.getColor();
    	}else {
    		return null;
    	}
    }
    
    public Order getOrder() {
		return order;
	}

}
